import request from '@/utils/request'
// subsidy-scholarship

//  申请统计
export function getScholarshipApplication(query) {
    return request({
      url: '/finances/ScholarshipStatisticsController/getApplicationStatistics',
      method: 'get',
      params: query
    })
}

//  奖学金统计
export function getScholarshipCollege(query) {
  return request({
    url: '/finances/ScholarshipStatisticsController/getCollegeScholarshipStatistics',
    method: 'get',
    params: query
  })
}

// 奖学金列表
export function getCollegeScholarshipStatisticsList(query) {
  return request({
    url: '/finances/ScholarshipStatisticsController/getCollegeScholarshipStatisticsList',
    method: 'get',
    params: query
  })
}


// 贫困生统计
export function poorStudentStatistics(query) {
  return request({
    url: '/finances/diffStuPlanTypeController/selectStatisticsByYearstr',
    method: 'post',
    params: query
  })
}


// 本专科校内奖学金统计
export function benzhuanSchoolScholarshipStatistics(query) {
  return request({
    url: '/finances/schoolScholarshipStatisticsController/getApplicationStatistics',
    method: 'post',
    params: query
  })
}

// 各学院奖学金统计
export function getCollegeSchoolScholarshipStatistics(query) {
  return request({
    // url: '/finances/schoolScholarshipStatisticsController/getCollegeScholarshipStatistics',
    url: '/finances/schoolScholarshipStatisticsController/getCollegeScholarshipStatisticsNew',
    method: 'post',
    params: query
  })
}

// 各学院奖学金统计明细
export function getCollegeSchoolScholarshipStatisticsList(query) {
  return request({
    url: '/finances/schoolScholarshipStatisticsController/getCollegeScholarshipStatisticsList',
    method: 'post',
    params: query
  })
}

// 四大组织奖学金统计明细
export function getFourOrganizationScholarshipList(query) {
  return request({
    url: '/finances/schoolScholarshipStatisticsController/getOrgCollegeScholarshipStatisticsList',
    method: 'post',
    params: query
  })
}


// 各学院奖学金统计--省份维度
export function getScholarshipStaticsByProvince(query) {
  return request({
    url: '/finances/ScholarshipStatisticsController/getCollegeScholarshipStatisticsByProvince',
    method: 'GET',
    params: query
  })
}

// 国家助学金--各学院奖学金统计--省份维度
export function getSubsidyStaticsByProvince(query) {
  return request({
    url: '/finances/diffStuPlanTypeController/selectStatisticsByYearstrByProvince',
    method: 'post',
    params: query
  })
}


